<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <input type="text" v-model.lazy="text1">
    <h2>text1是：{{text1}}</h2>

    <input type="text" v-model.number="text2">
    <h2>text2类型是:{{typeof text2}}</h2>

    <input type="text" v-model.trim="text3">
    <h2>text3:{{text3}}</h2>
</div>
<script src="../js/vue.js"></script>
<script>
    const aaa = new Vue({
        el: "#app",
        data: {
            message: "hello,guys",
            text1: "",
            text2: "",
            text3: ""
        }
    })
</script>

</body>
</html>